package bhbt.controller.admin.kuang;


import java.util.HashMap;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import bhbt.controller.core.BaseController;
import bhbt.service.log.LogKuangPayService;
import bhbt.taglib.pagetag.Pagination;






/**
 * Created by Administrator on 2016/3/25.
 */
@Controller

public class LogKuangPayListController extends BaseController {
    @Resource
    private LogKuangPayService logKuangPayService;
   
   
    @RequestMapping("admin/kuang/logKuangPayList.shtml")
    public String list(HttpServletRequest request) throws Exception{
        HashMap formMap = getParameterMap(request);
       
        System.out.println("-----wdqwdq");
		
        formMap.put("pagination.orderBy"," a.id desc");  //排列
        Pagination page = logKuangPayService.queryForPageList("logKuangPayForPage",formMap);
        request.setAttribute(Pagination.pageBeanName, page);
        return "admin/kuang/logKuangPayList";
    }
    
     

    
}
